package com.rock.code.common.tree;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.ArrayList;
import java.util.List;

/**
 * The type Additional parameters.
 *
 * @author kongqiang
 * @date 2018 /06/08
 */
public class AdditionalParameters {

    /**
     * The Id.
     */
    private String id;

    /**
     * The Tree level.
     */
    private Integer treeLevel;

    /**
     * The Module path.
     */
    private String modulePath;

    /**
     * The Data icon.
     */
    @JSONField(name="data-icon")
    private String dataIcon;

    /**
     * The Children.
     */
    private List<ItemNode> children = new ArrayList<ItemNode>();

    /**
     * The Item selected.
     */
    @JSONField(name="item-selected")
    private boolean itemSelected;

    /**
     * Gets id.
     *
     * @return the id
     * @author kongqiang
     * @date 2018 /06/08
     */
    public String getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     * @author kongqiang
     * @date 2018 /06/08
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets tree level.
     *
     * @return the tree level
     * @author kongqiang
     * @date 2018 /06/08
     */
    public Integer getTreeLevel() {
        return treeLevel;
    }

    /**
     * Sets tree level.
     *
     * @param treeLevel the tree level
     * @author kongqiang
     * @date 2018 /06/08
     */
    public void setTreeLevel(Integer treeLevel) {
        this.treeLevel = treeLevel;
    }

    /**
     * Gets module path.
     *
     * @return the module path
     * @author kongqiang
     * @date 2018 /06/08
     */
    public String getModulePath() {
        return modulePath;
    }

    /**
     * Sets module path.
     *
     * @param modulePath the module path
     * @author kongqiang
     * @date 2018 /06/08
     */
    public void setModulePath(String modulePath) {
        this.modulePath = modulePath;
    }

    /**
     * Gets data icon.
     *
     * @return the data icon
     * @author kongqiang
     * @date 2018 /06/10
     */
    public String getDataIcon() {
        return dataIcon;
    }

    /**
     * Sets data icon.
     *
     * @param dataIcon the data icon
     * @author kongqiang
     * @date 2018 /06/10
     */
    public void setDataIcon(String dataIcon) {
        this.dataIcon = dataIcon;
    }

    /**
     * Gets children.
     *
     * @return the children
     * @author kongqiang
     * @date 2018 /06/08
     */
    public List<ItemNode> getChildren() {
        return children;
    }

    /**
     * Sets children.
     *
     * @param children the children
     * @author kongqiang
     * @date 2018 /06/08
     */
    public void setChildren(List<ItemNode> children) {
        this.children = children;
    }

    /**
     * Gets item selected.
     *
     * @return the item selected
     * @author kongqiang
     * @date 2018 /06/08
     */
    public boolean getItemSelected() {
        return itemSelected;
    }

    /**
     * Sets item selected.
     *
     * @param itemSelected the item selected
     * @author kongqiang
     * @date 2018 /06/08
     */
    public void setItemSelected(boolean itemSelected) {
        this.itemSelected = itemSelected;
    }
}
